package com.luoyx.hauyne.audit.api.dto;

import com.luoyx.hauyne.audit.api.enums.AuditTypeEnum;
import lombok.Data;

import java.io.Serializable;

@Data
public class JaversAuditMessage<T> implements Serializable {

    private static final long serialVersionUID = -2786118118498372379L;

    /**
     * 审计类型 (commit=提交, commitShallowDelete=删除)
     */
    private AuditTypeEnum auditType;

    /**
     * 作者
     */
    private String author;

    /**
     * 消息体
     */
    private T payload;


}
